 <?php echo $html->docType('xhtml-trans'); ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php echo $html->charset('UTF-8'); ?>

<meta name="description" content="<?php if(isset($details['News']['meta_key']) && $details['News']['meta_key']) echo $details['News']['meta_key'].", " ?><?php if(isset($site_settings)) echo $site_settings['site_meta_description'] ?>">
<meta name="keywords" content="<?php if(isset($details['News']['meta_description']) && $details['News']['meta_description']) echo $details['News']['meta_description'].", " ?><?php if(isset($site_settings)) echo $site_settings['site_meta_key'] ?>">

<title><?php if($front_page_title) echo $front_page_title.' :: ' ?>Welcome to Bangladesh Yellow Pages</title>
<script type="text/javascript">var path='<?php echo $html->url('/',false) ?>';</script>
<?php
    echo $html->css(array(
            '/js/ui/css/ui-lightness/jquery-ui-1.8.7.custom', 
            '/js/jquery-tooltip/jquery.tooltip',
            '/js/fancybox/jquery.fancybox-1.3.4', 
            '/styles/style.css'
    ));
    
?>

</head>
<body>
<?php echo $this->element('flash'); ?>            
<!-- Start of wrapper -->
<div class="wrap">
	<!-- Start of header -->
    <?php echo $this->element('public/header'); ?>                 
    <!-- End of header -->
    <!-- Start of mainbody -->
	<?php echo $content_for_layout ?>    
    <!-- End of mainbody -->
	<!-- Start of footer -->
    <?php echo $this->element('public/footer'); ?>                 
	<!-- End of footer -->
</div>
<!-- End of wrapper -->
<?php 

    
echo $common->js(
            array(
                'jquery-1.4.4.min', 
                'ui/js/jquery-ui-1.8.7.custom.min', 
                'jquery-tooltip/jquery.tooltip', 
                'fancybox/jquery.fancybox-1.3.4.pack', 
                'jquery.scrollTo', 
                'custom', 
            ),
            'public_'
        );
        
        echo $scripts_for_layout;

?>
<?php echo $this->element('sql_dump'); ?>
</body>
</html>